<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 层叠性 */
        /* div span{
            color: red;
        }
        div span {
            color: aqua;
        } */
        /* 继承性 */
        /* .fa {
            font-size: 50px;
            color: blueviolet;
        } */
        /* 优先级 */
        div span{ /* 0,0,0,1  0,0,0,1 */
            color: red;
            font-size: 50px;
        }
        span {
           color: blueviolet !important;
        }

    </style>
</head>
<body>
    <!-- 层叠性 -->
    <!-- <div>
        <span>文字</span>
    </div> -->
    <!-- 继承性 -->
    <!-- <div class="fa">
        <div class="son">儿子</div>
    </div> -->
    <!-- 优先级 -->
    <div>
        <span>文字</span>
    </div>
</body>
</html>